package Model;

import java.io.Serializable;

/**
 * //decorator design pattern for extra features?
 * @author pieterc
 */
public class User implements Serializable {
    private String realname;
    private String nickname;
    private String avatar; //imageURL
    private String url;
    private String protocol;

    public User(String protocol) {
        realname = "";
        nickname = "";
        avatar = "";
        url = "";
        this.protocol = protocol;
    }

    public User(String realname, String nickname, String avatar, String url) {
        this.realname = realname;
        this.nickname = nickname;
        this.avatar = avatar;
        this.url = url;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public String getRealname() {
        return realname;
    }

    public String getUrl() {
        return url;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProtocolName() {
        return this.protocol;
    }

    public void setProtocolName(String prot){
        this.protocol = prot;
    }
}
